package com.chenfan.mcn.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.chenfan.mcn.model.base.BaseOwnerEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 部门目标
 * </p>
 *
 * @author lizhejin
 * @since 2021-10-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("monthly_target")
public class MonthlyTarget extends BaseOwnerEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 月度编号
     */
    private String monthlyCode;

    /**
     * 销售总额
     */
    private BigDecimal totalSales;

    /**
     * 共享业绩总额
     */
    private BigDecimal totalSharePerformance;

    /**
     * 目标金额
     */
    private BigDecimal targetAmount;

    /**
     * 目标达成率
     */
    private BigDecimal targetReachRate;

    /**
     * 绑定目标部门id
     */
    private Long targetDepartmentId;


}
